<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Work/workactiveIndex')}">作业活动</a></li>
		<li><a href="{:url('Work/workactiveAdd')}">添加作业活动</a></li></li>
        <li class="active"><a>编辑作业活动</a></li>
    </ul>
    <!--js-ajax-form-->
    <form class="form-horizontal  margin-top-20"
     action="{:url('Work/workactiveEditPost')}" method="post">
        <div class="form-group">
            <label for="input-workActiveName" class="col-sm-2 control-label">作业活动名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-workActiveName" name="workActiveName" value="{$data.workActiveName}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-workInfo" class="col-sm-2 control-label">作业活动内容</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-workInfo" name="workInfo" value="{$data.workInfo}">
            </div>
        </div>
        <div class="form-group">
                <label for="input-parent_id" class="col-sm-2 control-label"><span class="form-required">*</span>部门名称</label>
                <div class="col-md-6 col-sm-10">
                    <select class="form-control" name="parent_id" id="input-depart_id" 
                     onchange="searchStation()">
                        <option value="0">作为一级菜单</option>{$select_category}
                    </select>
                </div>
            </div>
           
		 <div class="form-group">
            <label for="input-workFrequency" class="col-sm-2 control-label"><span class="form-required">*</span>活动频率</label>
            <div class="col-md-6 col-sm-10">
                 <select class="form-control" name="workFrequency">
                    <option value="定期">定期</option>
                    <option value="频繁进行">频繁进行</option>
                    <option value="特定时间进行">特定时间进行</option>
                </select>
            </div>
        </div>
		<div class="form-group">
            <label for="input-memos" class="col-sm-2 control-label">备注</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-memos" name="memos" value="{$data.memos}">
            </div>
        </div>
        <div class="form-group">
         	<div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="workActivID" value="{$data.workActivID}"/>
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" 
                href="{:url('admin/Work/workactiveIndex')}">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>